﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lucene.Net.Documents;

namespace SpeedSearch.FullText
{

    public class DocFile
    {

        public Document Document;
        public int IndexId { get; set; }
        public int IndexName { get; set; }
        public int DirId { get; set; }
        public string DirName { get; set; }
        public string FileName { get; set; }
        public string Extension { get; set; }
        public string FullName { get; set; }
        public int FileSize { get; set; }
        public DateTime DateCreated { get; set; }
        public DateTime DateModified { get; set; }
        public object Tag { get; set; }

        public float Score { get; set; }
        public string ScoreStr { get { return string.Format("{0:00.00}", Score); } }

    }

}
